﻿using DFGK_WMS.Model.DTO;
using DFGK_WMS.Model.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.IRepository
{
    public interface ITInventoryLogsRepository :IBaseRepository<TInventoryLog>
    {

        /// <summary>
        /// 查询库存流水
        /// </summary>
        /// <param name="WarehouseId"></param>
        /// <param name="AreaId"></param>
        /// <param name="SourceType"></param>
        /// <param name="MaterialId"></param>
        /// <param name="StartTime"></param>
        /// <param name="EndTime"></param>
        /// <returns></returns>
        List<TInventoryLog> GetInventoryflow(out int totalCount , int? WarehouseId , int? AreaId , int? SourceType ,
            string? MaterialName, string? StartTime , string? EndTime, int pageIndex, int pageSize);



        List<TInventoryLog> GetAllInventoryLog();

    }
}
